import request from "@/utils/request.ts";



export function getDictByKey(key: any){
    return request({
        url: '/dict/getDictByKey',
        method: 'get',
        params: {
            key: key
        }
    })
}


/**
 * 根据字典类型查询字典数据信息
 */
export function getDictUrl(dictType: any) {
    return request({
        url: '/system/dict/data/type/' + dictType,
        method: 'get'
    });
}
